package com.myeasyexcel.utils;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;

@Data
public abstract class ExcelErrMsg {
    /**
     * 错误信息
     */
    @ExcelProperty(value = "失败原因")
    @HeadFontStyle(color = 0)
    @ColumnWidth(80)
    @ContentStyle(wrapped = BooleanEnum.TRUE,shrinkToFit = BooleanEnum.TRUE, horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    protected String errMsg;
}